import Vue from 'vue'
import Vuex from 'vuex'
import App from './App'
import store from './store'  

Vue.prototype.$store = store 

Vue.prototype.showLoading = (title='加载中') => uni.showLoading({ title })
Vue.prototype.hideLoading = () => uni.hideLoading()

// 下一页
Vue.prototype.onGoNext = (url) => {
	uni.navigateTo({ url })
}	

import Accredit from "@/components/accredit/index.vue"
import Loading from "@/components/Loading.vue"

Vue.component('accredit', Accredit)
Vue.component('loading', Loading)

Vue.config.productionTip = false



App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

 



